shatter (someone's) confidence

Translations
подорвать (чью-то) уверенность
The harsh criticism from her boss shattered her confidence.
Жесткая критика от начальника подорвала её уверенность.
Definitions
To undermine or destroy someone's self-assurance or belief in their abilities, often through criticism, failure, or negative experiences.